#include <testngpp/internal/TestCase.h>
#include <testngpp/internal/TestFixtureDesc.h>
#include <testngpp/internal/TestSuiteDesc.h>
#include <testngpp/internal/DataDriven.h>
#include "TestLength.h"

static struct TESTCASE_TestLength_test_46
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_46()
      : TESTNGPP_NS::TestCase
        ( "length(50.005) double() should be 50"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 46)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_46()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_46 ;



static struct TESTCASE_TestLength_test_53
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_53()
      : TESTNGPP_NS::TestCase
        ( "length(50.005) isValid should be true"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 53)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_53()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_53 ;



static struct TESTCASE_TestLength_test_60
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_60()
      : TESTNGPP_NS::TestCase
        ( "length(50.005) change(100.01) should be false"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 60)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_60()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_60 ;



static struct TESTCASE_TestLength_test_67
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_67()
      : TESTNGPP_NS::TestCase
        ( "length(100.01) should be invalid"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 67)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_67()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_67 ;



static struct TESTCASE_TestLength_test_74
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_74()
      : TESTNGPP_NS::TestCase
        ( "width(50.005) double() should be 50"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 74)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_74()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_74 ;



static struct TESTCASE_TestLength_test_81
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_81()
      : TESTNGPP_NS::TestCase
        ( "width(50.005) isValid should be true"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 81)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_81()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_81 ;



static struct TESTCASE_TestLength_test_88
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_88()
      : TESTNGPP_NS::TestCase
        ( "width(50.005) change(100.01) should be false"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 88)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_88()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_88 ;



static struct TESTCASE_TestLength_test_95
   : public TESTNGPP_NS::TestCase
{
   TESTCASE_TestLength_test_95()
      : TESTNGPP_NS::TestCase
        ( "width(100.01) should be invalid"
        , "Length"
        , "TestLength"
        , 0
        , "TestLength.h"
        , 95)
   {}

   void setFixture(TESTNGPP_NS::TestFixture* fixture)
   {
      if(fixture == 0)
      {
         belongedFixture = new TestLength();
      }
      else
      {
         belongedFixture = dynamic_cast<TestLength*>(fixture);
      }
   }

   void runTest()
   {
      
belongedFixture->test_95()
;
   }

   TESTNGPP_NS::TestFixture* getFixture() const
   {
      return belongedFixture;
   }

   unsigned int numberOfTags() const
   {
      return 0;
   }

   const char** getTags() const
   {
      static const char* tags[] = {0};
      return tags;
   }

private:
   TestLength* belongedFixture;
} testcase_instance_TestLength_test_95 ;



static TESTNGPP_NS::TestCase* g_TESTCASEARRAY_TestLength[] = {
&testcase_instance_TestLength_test_46,
&testcase_instance_TestLength_test_53,
&testcase_instance_TestLength_test_60,
&testcase_instance_TestLength_test_67,
&testcase_instance_TestLength_test_74,
&testcase_instance_TestLength_test_81,
&testcase_instance_TestLength_test_88,
&testcase_instance_TestLength_test_95,
0
};




/*static*/ TESTNGPP_NS::TestFixtureDesc test_fixture_desc_instance_TestLength
   ( "Length"
   , "TestLength.h"
   , g_TESTCASEARRAY_TestLength
   , (sizeof(g_TESTCASEARRAY_TestLength)/sizeof(g_TESTCASEARRAY_TestLength[0])) - 1
   );



static TESTNGPP_NS::TestFixtureDesc* array_of_fixture_desc_TestLength[] = {
&test_fixture_desc_instance_TestLength,
0
};




static TESTNGPP_NS::TestSuiteDesc test_suite_desc_instance_TestLength
   ( "TestLength"
   , array_of_fixture_desc_TestLength
   , (sizeof(array_of_fixture_desc_TestLength)/sizeof(array_of_fixture_desc_TestLength[0])) - 1
   );



extern "C" DLL_EXPORT TESTNGPP_NS::TestSuiteDesc* ___testngpp_test_suite_desc_getter() {
   return &test_suite_desc_instance_TestLength;
}


